<template>
  <div class="btn" @click="$emit('click')">
    <slot></slot>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
@import "../less/index.less";
.btn{
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
    background: @primary;
    color: #fff;
    display: inline-block;
}
</style>